package com.example.yyg.test.bean;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserService {
    private String name;
    private Integer age;

    private UserDao userDao;

    public String getUserInfo(String id) {
        return userDao.queryUserInfo(id);
    }

}
